/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package figuras;

/**
 *
 * @author HUSSEIN
 */
public class Triangulo {
    
    public static Double area(double base,double altura){
        return (base*altura)/2;
        
    }
    
    public static Double perimetro(double lado1,double lado2,double lado3){
        return lado1+lado2+lado3;
    }
    
}
